#include "qcompardialog.h"
#include "ui_qcompardialog.h"

QComparDialog::QComparDialog(QWidget *parent) :
    QBaseDialog(parent),
    ui(new Ui::QComparDialog),
    m_ret(0)
{
    ui->setupUi(this);
}

QComparDialog::~QComparDialog()
{
    delete ui;
}

void QComparDialog::on_pushButton_clicked()
{
    m_ret=1;
    close();
}

void QComparDialog::on_pushButton_2_clicked()
{
    m_ret=2;
    close();
}

int QComparDialog::get_ret()
{
    return m_ret;
}
